home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #5 & #6
/
Amiga Plus CD - 1995 - No. 5 and 6.iso
/
pd
/
daten
/
ispell
/
source
/
addons
/
xspell.shar
/
Makefile
< prev
next >
Wrap
Makefile
|
1995-01-23
|
1KB
|
48 lines
#
CC = cc
LINT = lint
# Sun
#DEFINES = -DSELECT_BROKEN
#INCS = -I/sig/quartz/Motif-1.1.2/lib
#LIBES = -L/sig/quartz/Motif-1.1.2/lib/Xm -lXm -L/sig/quartz/Motif-1.1.2/lib/Xt -lXt -L/sig/quartz/Motif-1.1.2/lib/X -lX11
# HP
#DEFINES = -DSELECT_BROKEN -D_NO_PROTO -DDEBUG=1
DEFINES = -DSELECT_BROKEN -D_NO_PROTO
#INCS = -I/usr/include/Motif1.1 -I/usr/include/X11R4
#LIBES = -L/usr/lib/Motif1.1 -lXm -L/usr/lib/X11R4 -lXt -lX11
INCS = -I/usr/include/Motif1.2 -I/usr/include/X11R5
LIBES = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -lXt -lX11
CFLAGS = -g $(DEFINES) -I.. $(INCS)
LINTFLAGS = $(DEFINES) -I.. $(INCS)
X11LIB= /usr/local/lib/X11
X11BIN= /usr/local/bin/Xspell
#install= install
#
# HP brain-death...
install= /usr/local/bin/install
Xspell: Xspell.o
$(CC) $(CFLAGS) -o Xspell Xspell.o $(LIBES)
Xspell.o: buffer.h
install: install-app-defaults install-binaries
install-app-defaults:
cat app-defaults app-defaults.eng > foobar
$(install) -o root -g sys -m 644 foobar $(X11LIB)/app-defaults/Xspell
cat app-defaults app-defaults.fr > foobar
$(install) -o root -g sys -m 644 foobar $(X11LIB)/french/app-defaults/Xspell
rm foobar
install-binaries: Xspell
$(install) -o bin -g bin -m 755 Xspell $(X11BIN)
release:
tar cf - README Makefile Xspell.c buffer.h app* look.c | \
compress > Xspell.tar.Z
shar README Makefile Xspell.c buffer.h app* look.c > Xspell.shar